package com.antis.olsl.user.net;

import com.antis.olsl.library.net.api.service.BaseApiServer;
import com.antis.olsl.user.response.LoginResp;

import io.reactivex.Flowable;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ApiServer extends BaseApiServer {

    String API_BASE = "api-base";

    @POST(API_BASE + "/ads/user/login")
    Flowable<LoginResp> login(@Body String filed, @Query("access_token") String accessToken, @Query("type") int type);
}
